import request from '@/utils/request'

export default {
    reqAttrList (category1Id, category2Id, category3Id){
        return request.get(`/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`)
    },
    reqSaveAttr (attr){
        return request.post('/admin/product/saveAttrInfo', attr)
    },
    reqDelAttr (attrId){
        return request.delete(`/admin/product/deleteAttr/${attrId}`)
    }
}